<?php 
error_reporting(0);
$isadmin=1;
include 'check.php';	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE3 {color: #FF0000}
-->
</style>
</head>

<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="images/arrow.gif" width="16" height="22" align="absmiddle" /> 添加站点广告</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="savead.php">
                    <br />
                    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="40" class="bigtext">提示：将广告代码直接填写到相应区域保存就可以正常显示了，尺寸大小请按模板对应广告位大小及位置说明。<br />
                          广告代码投放方法：将广告代码投放到您需要投放的位置，投放代码如下<br />
                          <span class="STYLE3">&lt;?php<br />
                          AD(id); //此处的ID是该广告的ID，可在广告列表找到<br />
                          ?&gt;</span></td>
                      </tr>
                    </table>
                    <table width="600"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
                      <tr>
                        <td height="30" align="right" class="bigtext">显示位置：</td>
                        <td height="0" class="bigtext"><label>
                          &nbsp;
<input name="adtype" type="text" id="adtype" size="40" />
                        如：文章系统顶部</label></td>
                        </tr>
                      <tr>
                        <td height="129" align="right" class="bigtext">广告代码：</td>
                        <td height="129" class="bigtext">&nbsp;
<textarea name="content" cols="40" rows="5" class="btn3" id="content" style="width:400px; height:120px;"></textarea></td>
                        </tr>
                      <tr>
                        <td height="30" align="right">&nbsp;</td>
                        <td height="30" class="bigtext">&nbsp;
						<input type="submit" name="Submit" value=" 保 存 广 告 " />                          </td>
                      </tr>
                    </table>
                    <br />
                  </form>
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>
<?php mysql_close($link);?>
